#define  _CRT_SECURE_NO_WARNINGS
#include"SList.h"
void test01()
{
	SListNode* plist = NULL;
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	//SListPushFront(&plist, 5);
	SListPrint(plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPrint(plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPrint(plist);
	//SListNode* ret = SListFind(plist, 4);
	//SLTInsert(&plist, NULL, 6);
	//SListPrint(plist);
	//SListNode* ret = SListFind(plist, 4);
	//SListInsertAfter(ret, 9);
	//SListPrint(plist);
	//SListNode* ret = SListFind(plist, 4);
	////SListEraseAfter(ret);
	//SLTErase(&plist, ret);
	//SListPrint(plist);
	SLTDestroy(&plist);
}
int main()
{
	test01();
	return 0;
}